package

        com.rightrule.service.impl;

import com.rightrule.dao.MngProcessOperateDao;
import com.rightrule.entity.MngProcessOperateEntity;
import com.rightrule.service.MngProcessOperateService;
import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rightrule.common.utils.PageUtils;
import com.rightrule.common.utils.Query;



@Service
public class MngProcessOperateServiceImpl extends ServiceImpl<MngProcessOperateDao, MngProcessOperateEntity> implements MngProcessOperateService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MngProcessOperateEntity> page = this.page(
                new Query<MngProcessOperateEntity>().getPage(params),
                new QueryWrapper<MngProcessOperateEntity>()
        );

        return new PageUtils(page);
    }

}